package com.oystertech.sportcms.converter;

import com.oystertech.sportcms.model.entity.Team;
import com.oystertech.sportcms.model.vo.TeamVO;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.Mappings;

/**
 * 队伍对象转换器
 *
 * @author Oyster Cheung
 * @since 2023-08-27
 */
@Mapper(componentModel = "spring")
public interface TeamConverter {
	@Mappings({
//			@Mapping(target = "userId", source = "id")
	})
	TeamVO entity2TeamVo(Team entity);
}
